package terra.model;

import java.io.Serializable;

public class ItemClientDef implements Serializable
{

	private static final long serialVersionUID = -748969111011838834L;
	
	private int _id;
	private int _oId;
	private int _count;
	private int _pos;
	
	public ItemClientDef(int oId,int id, int count) {
		setOId(oId);
		setId(id);
		setCount(count);
	}
	
	public ItemClientDef(ItemClientDef def) {
		setId(def.getId());
		setOId(def.getOId());
		setCount(def.getCount());
	}

	public int getId() {
        return _id;
    }

	public int getOId() {
		return _oId;
	}

	public void setOId(int _oId) {
		this._oId = _oId;
	}
	
	public void setId(int _id) {
		this._id = _id;
	}

	public int getCount() {
		return _count;
	}

	public void setCount(int _count) {
		this._count = _count;
	}

	public int getPos() {
		return _pos;
	}

	public void setPos(int _pos) {
		this._pos = _pos;
	}
}
